package com.cqch.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author CQCH
 * @Description   消息队列
 * @Date 2022/3/29
 */
@Configuration
public class RabbitEmailConfig {

    @Bean
    public Queue Emailqueue(){
        return new Queue("user-mail");
    }
}
